package com.guaoran.consul.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @author : 孤傲然
 * @description : zuul
 * @date :2019/11/22 15:34
 */
@SpringBootApplication
// 取消注册到 consul
//@EnableDiscoveryClient
@EnableZuulProxy
@EnableHystrixDashboard
public class ConsulZuulApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConsulZuulApplication.class,args);
    }
}
